


namespace FineUtil.Prim
{

    
    /// <summary>
    /// Utility functions for working with strings.
    /// </summary>
    public static class Strings
    {


        public static string normalize(string str)
        {
            if (str == null)
                return null;
            str = str.Trim();
            if (str.Length == 0)
                return null;
            return str;
        }


        public static string peel(string str)
        {
            if (str == null) return null;
            str = str.Trim();
            if (str.Length == 0) return null;
            return str;
        }
        

    }


}